package com.gzhu.knowledgeAdmin.dao;

import com.gzhu.knowledgeAdmin.entity.AVideo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AVideoMapper {


    //根据文件名插入音频
    Integer insertAudio(String wjm,String username);

    List<AVideo> selectList(@Param("aVideo") AVideo aVideo);
    //根据文件名插入视频
    Integer insertVideo(String wjm,String username);

    AVideo selectOneBywjm(String fileName);
}
